Distance measuring equipment and camera

ABSTRACT

There is disclosed a distance measuring equipment capable of performing efficiently a greater accuracy of focusing without troubling an operator, and a camera incorporating thereinto such a distance measuring equipment. By the use of the first focusing algorithm switches  61, 62  and  63  set up to the turn-off state, the turn-off state and the contact  62   a  side, respectively, so that AF-dedicated photo detector circuit  40  performs once a ratio arithmetic processing in accordance with photo-currents I 1  and I 2  from the PSD  30 . In case of the short distance area, they are dealt with as the focusing data. In case of the middle distance area, the ratio arithmetic processing is performed by n times. In case of the long distance area, by the use of the second focusing algorithm switches  61, 62  and  63  set up to the turn-off state, the turn-on state and the contact  62   b  side, respectively, so that the ratio arithmetic processing is performed in accordance with the photo-current I 1  and the constant current I r  from the constant current source  50 . In case of the longest distance area, by the use of the third focusing algorithm switches  61, 62  and  63  set up to the turn-on state, the turn-off state and the contact  62   b  side, respectively, so that the light quantity arithmetic processing is performed in accordance with the additional values of the photo-currents I 1  and I 2  and the constant current I r  to determine focusing data.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a distance measuring equipment for measuring a distance up to a target to be measured in distance in such a manner that light is projected and light reflected on the target and returned is detected, and a camera incorporated thereinto such a distance measuring equipment.

2. Description of the Related Art

Hitherto, there is widely spread a camera incorporating thereinto an automatic focusing (AF) device, which is generally referred to as an active type. Such an active type of automatic focusing device adopts a system for measuring a distance up to a camera subject in such a manner that an AF light projection unit and an AF photo detection unit are disposed at intervals of a predetermined base length, light is projected from the AF light projection unit to the camera subject, and light reflected on the camera subject is detected by the AF photo detection unit. As a photo detector element for focusing, for example, a semiconductor photo detector, such as an SPD element and a PSD element, is used. By way of example, Japanese Patent Application Laid Open Gazette Sho. 57-22508 discloses a system in which a PSD element is used to perform a focusing.

To perform a photography using such a camera, first, a shutter button is subjected to a half-push operation. Then, light for focusing is projected from the AF light projection unit ahead of the camera, and light for focusing, which is reflected on the camera subject and returned, is detected on a detecting surface of a semiconductor photo detector so that a photo-current is generated. A distance up to the camera subject is determined in accordance with the generated photo-current, and a photographic lens is moved to the distance thus determined. In this manner, a focusing is performed by the AF device, and then the shutter button is subjected to a full-push operation to perform a photography.

Generally, as a distance up to the camera subject is far, a photo-current from the semiconductor photo detector is smaller. Thus, S/N ratio of a signal representative of a photo-current is lowered, and it is difficult to exactly determine the distance up to the camera subject. In view of the foregoing, Japanese Patent Application Laid Open Gazette Hei. 4-48208 discloses a technology of enhancing accuracy in focusing for both the short distance and the long distance, using a PSD element as the semiconductor photo detector, in such a manner that in case of the short distance there is adopted a focusing algorithm in which the ratio arithmetic value of photo-currents I₁ and I₂ outputted from the PSD element is integrated by a predetermined number of times so that a distance is calculated, and in case of the long distance there is adopted a focusing algorithm in which the addition value of photo-currents I₁ and I₂ outputted from the PSD element is integrated by a predetermined number of times so that a distance is calculated.

However, in the event that it is unclear as to whether a distance up to the camera subject is within an area of the short distance, it is a problem as to which one of the above-mentioned two algorithms is adopted to determine the distance.

According to the technology disclosed in Japanese Patent Application Laid Open Gazette Hei. 4-48208, arithmetic operations based on a plurality of focusing algorithms are simultaneously performed, and then it is decided as to which one of the operation results is adopted. In this case, the dedicated-arithmetic operation units are needed for the plurality of focusing algorithms, respectively. This is associated with a problem of increment of a circuit scale. Further, in this case, while the plurality of focusing algorithms are adopted, it is restricted to the use of plurality of focusing algorithms under such a condition that a photo sensor and a circuit unit directly relating to the photo sensing are in a certain fixed state. This is associated with a problem that a degree of freedom of selection of the focusing algorithms is low. For example, in the event that a detected signal derived by a photo sensor is amplified and transmitted to an arithmetic unit, there is a need to fix an amplification factor of an amplifier for amplifying the detected signal to a certain factor. Thus, it is impossible to adopt both the focusing algorithm wherein the amplification factor is set up to a lower factor and the focusing algorithm wherein the amplification factor is set up to a higher factor.

Alternatively, it is considered that an approximate distance, which is recognized by an operator of a camera through eye measurement, is taught to the camera. In this case, however, there is a need to provide an operation button and the like for performing such an operation, and the operation is troublesome per se. Further, it is considered that an operator forgets the operation and performs a photography. This is not preferable.

SUMMARY OF THE INVENTION

In view of the foregoing, it is an object of the present invention to provide a distance measuring equipment capable of performing efficiently a greater accuracy of focusing without troubling an operator, and a camera incorporating thereinto such a distance measuring equipment.

To achieve the above-mentioned object, the present invention provides a first distance measuring equipment for measuring a distance up to a target to be measured in distance in such a manner that light is projected and light reflected on the target and returned is detected,

wherein said distance measuring equipment has a plurality of focusing algorithms for measuring a distance up to the target to be measured in distance, any one of the plurality of focusing algorithms is used to perform a first focusing, and a number of times of focusing is determined in accordance with the first focusing.

According to the first distance measuring equipment, any one of the plurality of focusing algorithms is used to perform a first focusing, and a number of times of focusing is determined in accordance with the first focusing. This feature makes it possible to perform a focusing with greater accuracy without troubling an operator.

To achieve the above-mentioned object, the present invention provides a second distance measuring equipment for measuring a distance up to a target to be measured in distance in such a manner that light is projected and light reflected on the target and returned is detected,

wherein said distance measuring equipment has a plurality of focusing algorithms for measuring a distance up to the target to be measured in distance, any one of the plurality of focusing algorithms is used to perform a first focusing, and a focusing algorithm to be used for a second focusing and subsequent focusing is determined in accordance with the first focusing.

According to the second distance measuring equipment, any one of the plurality of focusing algorithms is used to perform a first focusing, and a focusing algorithm to be used for a second focusing and subsequent focusing is determined in accordance with the first focusing. This feature makes it possible to perform a focusing with greater accuracy without troubling an operator.

For example, the embodiments, which will be described later, relate to an embodiment in which both the embodiment of the first distance measuring equipment of the present invention and the embodiment of the second distance measuring equipment of the present invention are compounded. According to such an embodiment, a sort of the focusing algorithm and the number of times of focusing are determined in accordance with a distance to be measured in such a manner that in the first focusing the focusing algorithm according to the ratio arithmetic procedure is used to determine focusing data, and in the event that the focusing data thus determined is sufficiently reliable, that is, in the event that the focusing data is involved in the short distance area wherein a value of a noise component included in the photo signal for focusing is relatively small, the subsequent focusing is not carried out, and in the event that the focusing data is involved in the middle or so, that is, in the event that the focusing data is involved in the middle distance area wherein a value of a noise component is the middle or so, a focusing is performed a plurality of number of times in accordance with the focusing algorithm in the first focusing, and on the other hand, in the event that the focusing data is relatively low in reliability, that is, in the event that the focusing data is involved in the long distance area wherein the value of the noise component is relatively large, the focusing algorithm based on the light quantity is used to perform the focusing once.

Here, in the above-mentioned distance measuring equipment of the present invention, it is preferable that said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and

wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance according to the irradiation position on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.

Alternatively, in the above-mentioned distance measuring equipment of the present invention, it is preferable that said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and

wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced.

Further alternatively, in the above-mentioned distance measuring equipment of the present invention, it is preferable that said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and

wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.

In the above-mentioned distance measuring equipment of the present invention, it is preferable that said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface, and a first switch, disposed at a position adjacent to one signal electrode which is one of said pair of signal electrodes, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct into said one signal electrode, and a second state which inhibits the photo-current generated on said detection surface from conducting into said one signal electrode, in accordance with a control signal; and

wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance up to the target to be measured in distance in accordance with both photo-currents obtained from said pair of signal electrodes, in a state that said first switch offers the first state, and a focusing algorithm for computing a distance up to the target to be measured in distance in accordance with photo-current obtained from another signal electrode different from said one signal electrode of said pair of signal electrodes, in a state that said first switch offers the second state.

In this case, it is preferable that in said semiconductor photo detector element, when said first switch is in the first state, said pair of signal electrodes output on a share basis the photo-currents generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position of the light on said detection surface and both the ends of the detection surface.

In the above-mentioned distance measuring equipment of the present invention, it is acceptable that said distance measuring equipment has a semiconductor photo detector element comprising a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, signal electrodes, connected to associated divided areas of said detection surface, respectively, adapted for outputting the photo-current generated by irradiation of light onto said detection surface, and a second switch, disposed at a boundary between divided areas of said detection surface, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct through the associated boundary, and a second state which inhibits the photo-current generated on said detection surface from conducting through the associated boundary, in accordance with a control signal; and

wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for determining a distance up to the subject in accordance with a plurality of photo-currents derived through said signal electrodes, in a state that said second switch is changed over to the second state, and a focusing algorithm for determining a distance up to the subject in accordance with the photo-current derived through a first signal electrode which is one of said signal electrodes, in a state that said second switch is changed over to the first state.

In this case, it is preferable that said semiconductor photo detector element comprise.s a third switch, provided in association with another signal electrode excepting said first signal electrode, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct into the associated signal electrode, and a second state which inhibits the photo-current generated on said detection surface from conducting into the associated signal electrode, in accordance with a control signal,

one of said plurality of focusing algorithms determines a distance up to the subject in accordance with a plurality of photo-currents derived through said signal electrodes, in a state that said first switch is changed over to the second state, and said second switch is changed over to the first state, and

another of said plurality of focusing algorithms determines a distance up to the subject in accordance with the photo-current derived through said first signal electrode, in a state that said second switch is changed over to the first state, and said third switch is changed over to the second state.

Adoption of the semiconductor photo detector element having the above-mentioned switch makes it possible to implement a greater accuracy of distance measuring equipment with a smaller circuit scale and thereby reducing the cost of the device.

Here, while it is noted that said first state is a low impedance state, and said second state is a high impedance state, the state is not always restricted to magnitude of the impedance. A state which permits the photo-current to conduct through the switch is the first state, and a state which inhibits the photo-current from conducting into the switch is the second switch.

To achieve the above-mentioned object, the present invention provides a first camera having a distance measuring equipment for projecting light for focusing in front of the camera and detecting light reflected on a subject to determine a distance up to the subject, said distance measuring equipment moving a shooting lens to the determined distance,

wherein said distance measuring equipment has a plurality of focusing algorithms for measuring a distance up to the subject, any one of the plurality of focusing algorithms is used to perform a first focusing, and a number of times of focusing is determined in accordance with the first focusing.

In the above-mentioned first camera, it is acceptable that said camera performs a series of focusing to determine once a position of the shooting lens, and any one of the plurality of focusing algorithms is used to perform a first focusing of the series of focusing to determine once a position of the shooting lens, and a number of times of focusing up to completion of the series of focusing is determined in accordance with the first focusing.

To achieve the above-mentioned object, the present invention provides a second camera having a distance measuring equipment for projecting light for focusing in front of the camera and detecting light reflected on a subject to determine a distance up to the subject, said distance measuring equipment moving a shooting lens to the determined distance,

wherein said distance measuring equipment has a plurality of focusing algorithms for measuring a distance up to the subject, any one of the plurality of focusing algorithms is used to perform a first focusing, and a focusing algorithm to be used for a second focusing and subsequent focusing is determined in accordance with the first focusing.

In the above-mentioned second camera, it is acceptable that said camera performs a series of focusing to determine once a position of the shooting lens, and any one of the plurality of focusing algorithms is used to perform a first focusing of the series of focusing to determine once a position of the shooting lens, and a focusing algorithm to be used for a second focusing and subsequent focusing up to completion of the series of focusing is determined in accordance with the first focusing.

In each of the above-mentioned first and second cameras, it is preferable that said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and

wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance according to the irradiation position on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.

In each of the above-mentioned first and second cameras, alternatively, it is preferable that said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and

wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced.

Further alternatively, it is preferable that said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and

wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.

It is noted that cameras provided with various types of distance measuring equipment as mentioned above are included in a camera of the present invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a perspective view of a camera according to an embodiment of the present invention, looking obliquely upper from the front.

FIG. 2 is a perspective view of the camera shown in FIG. 1, looking obliquely upper from behind.

FIG. 3 is a typical illustration of an optical system of an automatic focusing device of the camera shown in FIG. 1.

FIG. 4 is a circuit diagram of a photo detector unit of the camera shown in FIG. 1.

FIG. 5 is a typical illustration of a PSD element shown in FIGS. 3 and 4.

FIG. 6 is a flowchart of a focusing routine of the camera shown in FIG. 1.

FIG. 7 is a view showing a focusing characteristic of the camera shown in FIG. 1.

FIG. 8 is a circuit diagram of a photo detector unit of a camera according to the second embodiment of a camera of the present invention.

FIG. 9 is a typical illustration of a PSD element shown in FIG. 8.

FIG. 10 is a circuit diagram of a switch constituting the PSD element shown in FIG. 4 by way of example.

FIG. 11 is a circuit diagram of a photo detector unit of a camera according to the third embodiment of a camera of the present invention.

FIG. 12 is a typical illustration of an SPD element shown in FIG. 11.

FIG. 13 is a circuit diagram of a photo detector unit of a camera according to the fourth embodiment of a camera of the present invention.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

Embodiments of the present invention will be described with reference to the accompanying drawings.

FIG. 1 is a perspective view of a camera according to an embodiment of the present invention, looking obliquely upper from the front.

A camera 10 shown in FIG. 1 incorporates therein an automatic focusing (AF) device generally referred to as an active type, and is for performing a photography on a roll-like shaped photographic film. The AF device incorporated in the camera corresponds to an embodiment of a distance measuring equipment of the present invention.

At the front central portion of the camera 10, there is provided a zoom barrel 11 in which an optical zoom lens 11 a is built.

The automatic focusing device comprises a light projecting unit, having an AF light projection window 12 disposed at the front upper portion of the camera 10, for projecting light for focusing from the AF light projection window 12 in front of the camera 10, and a photo detector unit, having an AF light detection window 13 disposed at the front portion of the camera 10 and at an interval of a predetermined distance from the AF light projection window 12, for determining a distance up to a camera subject in such a manner that light is projected from the AF light projection window 12 in front of the camera 10, and light reflected on the camera subject is detected through the AF light detection window 13. The photo detector unit is provided with a PSD, which is a kind of semiconductor photo detector element referred to in the present invention, disposed behind the AF light detection window 13. The photo detector unit will be described in detail later.

The camera 10 is further provided with a zoom finder window 14 constituting a finder unit (not illustrated) and an AE detection window 15 for leading light to an internal AE sensor for an exposure adjustment. Further, on the top of the camera 10, there are provided a pop-up electronic flash light emission unit 17 and a shutter button 18.

FIG. 2 is a perspective view of the camera shown in FIG. 1, looking obliquely upper from behind.

On the back of the camera 10, there is provided an electronic flash on/off switch 21 for selecting whether the electronic flash device is to be operated at the time of photography, a finder eyepiece window 22 and a zoom operating lever 23 for operating the optical zoom lens 11 a to a tele-side (a long distance side) or a wide-side (a short distance side).

The camera 10 thus constructed is improved in accuracy of focusing, and is small in a circuit scale and reduced in cost. Hereinafter, details of the camera 10 will be described.

FIG. 3 is a typical illustration of an optical system of an automatic focusing device of the camera shown in FIG. 1.

The camera 10 shown in FIG. 1 is provided with an AF unit 100. The AF unit 100 is provided with an LED 101, which is a light emitting diode for light projection disposed at the back of the AF light projection window 12 of the camera 10, and a projection lens 102 for narrowing a light beam emitted from the LED 101 down. At the back of the AF light detection window 13 of the camera 10, there is disposed a PSD 30, which is a kind of semiconductor photo detector element, and a photo detection lens 103 for condensing on the PSD 30 light emitted from the LED 101 and reflected on a camera subject (not illustrated).

Light for photometry emitted from the LED 101 travels via the projection lens 102 and the AF light projection window 12 forward (in an arrow A direction), and reflects on the camera subject (not illustrated). Incident light from the AF light detection window 13, of the reflected light, is condensed on the PSD 30 via the photo detection lens 103. Here, in the event that the camera subject is at a point a, light reflected on the point a is condensed on a point a′ of the PSD 30. In the event that the camera subject is at a point b, light reflected on the point b is condensed on a point b′ of the PSD 30, which is different from the point a′. In the event that the camera subject is at a point c, light reflected on the point c is condensed on a point c′ of the PSD 30, which is different from the points a′ and b′. In this manner, the condensing point on the PSD 30 is varied in accordance with a distance of the camera subject from the camera 10. Consequently, it is possible to determine a distance of the camera subject through detecting a position of the condensing point. The camera according to the present embodiment adopts a focusing according to this principle, when the camera subject is at the relatively short distance, as will be described later.

Further, while there exists an error due to a difference of a reflectance of the camera subject, when the camera subject is at the short distance, the strong light will be returned onto the PSD 30. On the other hand, when the camera subject is at the long distance, only the relatively weak light will be returned onto the PSD 30. Consequently, it is possible to determine a distance of the camera subject also through detecting on the PSD 30 the intensity (light quantity) of the light emitted from the LED 101 and reflected on the camera subject. The camera according to the present embodiment adopts a focusing according to this principle, when the camera subject is at the relatively long distance, as will be described later.

FIG. 4 is a circuit diagram of a photo detector unit of the camera shown in FIG. 1. FIG. 5 is a typical illustration of the PSD shown in FIGS. 3 and 4.

A photo detector unit, as shown in FIG. 4, comprises the PSD 30, an AF-dedicated photo detector circuit 40, a constant current source 50, and switch elements 61, 62 and 63, and an MPU 70.

The PSD 30, as shown in FIG. 5, comprises a detection surface 33 for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes 31 and 32, provided at both ends of the detection surface 33, respectively, for outputting the photo-current generated by irradiation of light onto the detection surface 33 on a share basis in accordance with the respective distances between an irradiation position of the light on the detection surface 33 and both the ends of the detection surface 33.

The AF-dedicated photo detector circuit 40 determines a distance up to a camera subject in accordance with two types of photo-current obtained through a pair of electrodes 41 and 42.

The constant current source 50 generates a constant current which is variable in a current value, and outputs constant current I_(r) of the current value designated by MPU 70.

The switch elements 61 and 62 are changed over to a turn-on state or a turn-off state in accordance with control signals from the MPU 70. The switch element 63 is changed over to a contact 63 a side or a contact 63 b side in accordance with a control signal from the MPU 70.

The MPU 70 selects a constant current generating unit of the constant current source 50 and changes over the switch elements 61 and 62 to the turn-off state, the turn-off state and the contact 63 b side, respectively to perform a first focusing, so that a sort of a focusing algorithm and a number of times of focusing are determined for a focusing in accordance with distance data outputted from the AF-dedicated photo detector circuit 40, and thereby performing the focusing effectively with greater accuracy. Details of the MPU 70 will be described later.

Next, there will be explained a focusing algorithm in the camera 10.

As a data arithmetic procedure for an active type of automatic focusing (AF) device, a ratio arithmetic procedure is well known.

In the ratio arithmetic procedure, the following expression is given.

R=N/(N+F) or R=F/(N+F)  (1)

Where R denotes output data, N: a short distance side signal, and F: a long distance side signal.

With respect to this R, a relation of R=α×(1/L) applies for the subject distance L, where α is determined in accordance with the AF system.

On the other hand, in the event that the long distance side signal F is fixed on the signal C, and the short distance side signal N is replaced by P=(N+F) which denotes a total value of N and F in the formula (1), from the formula (1),

R′=P/(P+C) or R′=C/(P+C)  (2)

is outputted in form of the arithmetic result.

Here, in the event that a total value (N+F) of N and F in case of a specific distance L_(o) is given by P_(o), and R′ determined in accordance with equation (2) is given by R_(o), the following expression is given.

P _(o) =R _(o) ×C/(1−R _(o)) or P _(o)=(1−R _(o))×C/R _(o)  (3)

With respect to an arbitrary distance L and the associated total value P,

P=P _(o)×(L _(o) /L)²  (4)

is established.

From equations (2) and (4), the distance L is expressed through P by R′ as follows:

L={square root over ( )}{(1−R′)×P _(o)/(R′×C)}L _(o)

Or

L={square root over ( )}{ R′×P _(o)/((1−R′)×C)}×L _(o)  (5)

With respect to the distance L, a derivation method, which is the same as the ratio arithmetic processing, is used to derive focusing data from light quantity P.

According to the present embodiment, there are used three types of focusing algorithm. Of the three types of focusing algorithm, the first focusing algorithm relates to a focusing algorithm of calculating a distance according to the irradiation position on the detection surface of the PSD element 30. More in detail, according to the first focusing algorithm, both the switch elements 61 and 62 are changed over to the turn-off state, and the switch element 63 is changed over to the contact 63 a side, and a ratio arithmetic processing {I₁/(I₁+I₂)} for the photo-currents I₁, I₂ from the PSD element 30 is performed in accordance with the formula (1). The first focusing algorithm is applied to the focusing for the short distance area and the middle distance area, which will be described later.

The second focusing algorithm relates to a focusing algorithm wherein the switch elements 61 and 62 are changed over to the turn-off state and the turn-on state, respectively, and the switch element 63 is changed over to the contact 63 b side, and a ratio arithmetic processing {I₁/(I₁+I_(r))} for the photo-current I₁ from the PSD element 30 and the constant current I_(r) from the constant current source 50 is performed in accordance with the formula (1). In this case, however, while the operation is performed in accordance with the formula (1), the long distance side signal F in the formula (1) is replaced by the fixed signal C represented by the constant current I_(r) from the constant current source 50. The second focusing algorithm is applied to the focusing for the long distance area. In general, in the ratio arithmetic processing {I₁/(I₁+I₂) }, in the event that the subject is at the long distance, the value of the photo-current I₂ particularly representative of the long distance side signal F is small. Thus, a ratio of the long distance side signal F to the noise component to the signal component is large. Consequently, in some case, it happens that there is generated a so-called inversion phenomenon of distance data in which distance data representative of a shorter distance than the actual distance is obtained. For this reason, according to the second focusing algorithm, the ratio arithmetic processing is performed through fixing the photo-current I₂ to a predetermined value of constant current I_(r) so that focusing is adjusted to a slightly long distance side. This makes it possible to expect a higher possibility that a preferable photograph is obtained.

The third focusing algorithm relates to a focusing algorithm of calculating a distance according to the irradiation intensity on the detection surface of the PSD element 30. More in detail, according to the third focusing algorithm, the switch elements 61 and 62 are changed over to the turn-on state and the turn-off state, respectively, and the switch element 63 is changed over to the contact 63 b side, and an arithmetic processing { (I₁+I₂)/(I₁+I₂+I_(r))} based on light quantity of added value (light quantity) of two photo-currents I₁ and I₂ from the PSD element 30 and the constant current I_(r) from the constant current source 50 is performed. The third focusing algorithm is applied to the focusing for the longest distance area. In the even that the subject is at the longest distance, the photo-currents I₁ and I₂ are small in value and thus the ratios of the long distance side signal F to the noise component to the signal component are large. Consequently, it is difficult to obtain distance data up to the subject by the ratio arithmetic processing. For this reason, according to the third focusing algorithm, rather than the ratio arithmetic processing, arithmetic processing based on light quantity involved in addition of photo-currents I₁ and I₂ is performed. This makes it possible to expect a higher possibility that a preferable photograph is obtained.

FIG. 6 is a flowchart of a focusing routine of the camera shown in FIG. 1. FIG. 7 is a view showing a focusing characteristic of the camera shown in FIG. 1.

First, in a step S11, the first regular focusing (first focusing of a series of focusing operations for determining a position of a photographic lens once) is carried out. Incidentally, the regular focusing referred to in this flowchart means focusing using the first focusing algorithm. According to the first focusing algorithm, the AF-dedicated photo detector circuit 40 performs the ratio arithmetic processing {I₁/(I₁+I₂)} to determine a distance (focusing data) up to the subject.

Next, the process goes to a step S12 in which it is determined whether the focusing data is not less than a first data determination value. The first data determination value is, as shown in FIG. 7, a value which is set up to distinguish the short distance area dl from the middle distance area d2. When it is determined that the focusing data is not less than the first data determination value (when it is determined that the subject is in the short distance area d1), this routine is passed through. That is, in this case, it means that the series of focusing operation has been completed with only the first regular focusing carried out in the step S11. In this manner, in the short distance area d1 wherein the value of the noise component included in the photo-currents I₁ and I₂ from the PSD element 30 is relatively small, it is possible to obtain focusing data with greater accuracy through once focusing.

On the other hand, in the step S12, when it is determined that the focusing data is less than the first data determination value, the process goes to a step S13 in which it is determined whether the focusing data is not less than the second data determination value. The second data determination value is a value which is set up to distinguish the longest distance area d4 from the long distance area d3. When it is determined that the focusing data is not less than the second data determination value, it means that the subject is in the long distance area d3 or the middle distance area d2, and thus the process goes to a step S14 in which it is determined whether the focusing data is not less than the third data determination value. The third data determination value is a value which is set up to distinguish the middle distance area d2 from the long distance area d3. When it is determined that the focusing data is not less than the third data determination value, it means that the subject is in the middle distance area d2, and thus the process goes to a step S15.

In the step S15 and the subsequent steps, n times of focusing is carried out in the regular focusing, or the first focusing algorithm. First, in the step S15, a value “count” of a counter for counting a number of times of focusing is set up to ‘0’, and the process goes to step S16 in which the regular focusing, or the first focusing algorithm is used to carry out the focusing. Next, in step S17 the focusing result is added on an accumulation basis and the process goes to step S18. In the step S18 the value “count” of the counter is incremented and the process goes to step S19. In the step S19 it is determined whether the value “count” of the counter reaches the number n of times of focusing. When it is determined that the value “count” of the counter does not reach the number n of times of focusing, the process returns to the step S16. On the other hand, when it is determined that the value “count” of the counter reaches the number n of times of focusing, the process goes to step S20 in which the mean value of the accumulated and added focusing result is derived and the routine is passed through. In this manner, in the middle distance area d2 wherein the value of the noise component included in the photo-currents I₁ and I₂ from the PSD element 30 is middle or so, n times of focusing is carried out in accordance with the first focusing algorithm, in addition to once focusing in the step S11, to derive the mean value and the mean value is adopted as the focusing data. Thus, it is possible to obtain focusing data with greater accuracy.

In the step S14, when it is determined that the focusing data is less than the third data determination value, it means that the subject is in the long distance area d3, and thus the process goes to step S21 in which a ratio arithmetic processing {I₁/(I₁+I_(r))} for the photo-current from the PSD element 30 and the constant current I_(r) from the constant current source 50 is performed in accordance with the second focusing algorithm to determine focusing data up to the subject, and the routine is passed through.

Further, in the above-mentioned step S13, when it is determined that the focusing data is less than the second data determination value, it means that the subject is in the longest distance area d4, and thus the process goes to step S22 in which an arithmetic processing {(I₁+I₂)/(I₁+I₂+I_(r))} based on light quantity of added value (light quantity) of two photo-currents I₁ and I₂ from the PSD element 30 and the constant current I_(r) from the constant current source 50 is performed in accordance with the third focusing algorithm to determine focusing data up to the subject, and the routine is passed through. Generally, in the long distance area d3 and the longest distance area d4, the photo-currents I₁ and I₂ from the PSD element 30 are small, and thus S/N ratio of signals represented by the photo-currents I₁ and I₂ is lowered. Here, in the event that focusing data is determined using the first focusing algorithm, as shown with the dotted line in FIG. 7, it happens that there is generated a so-called inversion phenomenon of distance data in which distance data representative of a shorter distance than the actual distance is obtained owing to a noise. According to the present embodiment, as mentioned above, in the long distance area d3, the second focusing algorithm is used to fix the photo-current I₂ on the constant current I_(r) so that the focusing is carried out, and in the longest distance area d4, the third focusing algorithm is used so that the focusing is carried out in accordance with quantity of light. This feature makes it possible to prevent the inversion phenomenon of distance data and thereby obtaining focusing data with greater accuracy. Here, of the characteristic curve shown in FIG. 7, when a portion of the long distance area d3 is bent in the long distance side, focusing is set up to slightly long distance side. This feature makes it possible to expect such an effect that the photographed picture looks like good.

Next, there will be explained cameras according to the second embodiment of the present invention and the subsequent embodiments. The cameras according to the second embodiment of the present invention and the subsequent embodiments are the same as the first embodiment of the present invention explained above except for the following portions, and thus the redundant description will be omitted.

FIG. 8 is a circuit diagram of a photo detector unit of the camera according to the second embodiment of the present invention. FIG. 9 is a typical illustration of a PSD element shown in FIG. 8.

FIG. 8 shows a PSD element which is different from the PSD element 30 shown in FIG. 4 in structure, as compared with FIG. 4, and in FIG. 8 the switch element 61 shown in FIG. 4 is deleted.

The PSD 30′, as shown in FIG. 9, comprises a detection surface 33 for generating a photo-current upon receipt of irradiation of light, a pair of signal electrodes 31 and 32, provided at both ends of the detection surface 33, respectively, for outputting the photo-current generated by irradiation of light onto the detection surface 33 on a share basis in accordance with the respective distances between an irradiation position of the light on the detection surface 33 and both the ends of the detection surface 33, and a switch 34 (a first switch referred to in the present invention), disposed at a position adjacent to the signal electrode 32 which is one of the pair of signal electrodes 31 and 32, for selectively offering a low impedance state (on state) which permits the photo-current generated on the detection surface 33 to conduct into the signal electrode 32, and a high impedance state (off state) which inhibits the photo-current generated on the detection surface 33 from conducting into the signal electrode 32, in accordance with a control signal from the MPU (cf. FIG. 8).

FIG. 10 is a circuit diagram of the switch constituting the PSD element shown in FIG. 9.

The switch 34 comprises a CMOS inverter 34 a to which a control signal C is applied, and a CMOS transfer gate 34 b connected to an input and an output of the CMOS inverter 34 a. When a ‘H’ level of voltage is entered as the control signal C, the CMOS transfer gate 34 b offers the low impedance state which permits the photo-current generated on the detection surface 33 to conduct into the signal electrode 32. On the other hand, when a ‘L’ level of voltage is entered as the control signal C, the CMOS transfer gate 34 b offers the high impedance state which inhibits the photo-current generated on the detection surface 33 from conducting into the signal electrode 32.

Also in the present embodiment, the flowchart shown in FIG. 6 can be used as it is. Thus, points different from the first embodiment in the flowchart shown in FIG. 6 will be explained in conjunction with FIG. 8 together with FIG. 6.

In the first regular focusing in the step S11 of FIG. 6 and the regular focusing in the step S16, on the condition that the switch 34 is in the turn-on state, the switch element 62 is in the turn-off state, and the switch element 63 is in the state that it is switched to the contact 63 a side, a ratio arithmetic processing {I₁/(I₁+I₂)} for the photo-currents I₁, I₂ from the PSD element 30′ is performed.

Further, in the step S21, on the condition that the switch 34 is in the turn-on state, the switch element 62 is also in the turn-on state, and the switch element 63 is in the state that it is switched to the contact 63 b side, a ratio arithmetic processing {I₁/(I₁+I_(r))} for the photo-current I₁ from the signal electrode 31 of the PSD element 30 and the constant current I_(r) from the constant current source 50 is performed.

Furthermore, in step S22, the switch 34 is change over into the turn-off state. In this state, the total photo-current (I₁+I₂) of two photo-currents I₁+I₂ which are outputted from two signal electrodes 31 and 32 when the switch 34 is in the turn-on state, is outputted from the signal electrode 31. And the switch element 63 is changed over at the contact 63 b side. The switch element 62 is in the turn-on state or turn-off state, whichever is appropriate. In the step S22, after the above-mentioned change over, the arithmetic processing {(I₁+I₂)/(I₁+I₂+I_(r))} based on light quantity is performed.

According to the embodiment shown in FIG. 8, there is adopted the PSD 30′ provided with the switch 34. This feature may reduce the number of the corresponding switch elements and contribute to a miniaturization of the device and saving the cost.

FIG. 11 is a circuit diagram of a photo detector unit of a camera according to the third embodiment of a camera of the present invention. FIG. 12 is a typical illustration of an SPD element shown in FIG. 11.

In FIG. 11, as compared with FIG. 4, the PSD 30 shown in FIG. 4 is replaced by an SPD 80 which is one of the semiconductor photo detectors. In FIG. 11, in a similar fashion to that of the second embodiment shown in FIG. 8, the switch element 61 shown in FIG. 4 is omitted.

The SPD 80 has, as shown in FIG. 12, a detection surface 83 for generating a photo-current upon receipt of irradiation of light. The detection surface 83 is divided into two parts of divided areas 83 a and 83 b. Signal electrodes 81 and 82 are provided at both ends of the detection surface 83 in association with the divided areas 83 a and 83 b, respectively. The signal electrodes 81 and 82 are connected to the divided areas 83 a and 83 b, respectively, and output the photo-current generated by irradiation of light onto the detection surface 83.

The SPD 80 is provided with a switch 84 (the second switch referred to in the present invention), disposed at a boundary between the divided areas 83 a and 83 b, for selectively offering a low impedance state (the turn-on state) which permits the photo-current generated on the detection surface 83 to conduct through the boundary, and a high impedance state (the turn-off state) which inhibits the photo-current generated on the detection surface 83 from conducting through the boundary, in accordance with a control signal.

Further, the SPD 80 is provided with a switch 85 (the third switch referred to in the present invention), disposed at a position associated with the signal electrode 82 (corresponding to an example of another signal electrode referred to in the present invention) excepting one signal electrode 81 (corresponding to an example of one signal electrode referred to in the present invention) of the signal electrodes 81 and 82, for selectively offering a low impedance state (the turn-on state) which permits the photo-current generated on the detection surface 83 to conduct into the signal electrode 82, and a high impedance state (the turn-off state) which inhibits the photo-current generated on the detection surface 83 from conducting into the signal electrode 82, in accordance with a control signal which will be described later.

Both the two switches 84 and 85 of the SPD 80 shown in FIG. 12 have the same structure as FIG. 10. Thus, the redundant description will be omitted.

Also in the third embodiment, the flowchart shown in FIG. 6 can be adopted as it is. Thus, points different from the first embodiment in the flowchart shown in FIG. 6 will be explained in conjunction with FIG. 11 together with FIG. 6.

In the first regular focusing in the step S11 of FIG. 6 and the regular focusing in the step S16, on the condition that the switch 84 is in the turn-on state, the switch 85 is in the turn-off state, the switch element 62 is in the turn-off state, and the switch element 63 is in the state that it is switched to the contact 63 a side, a ratio arithmetic processing {I₁/(I₁+I₂)} for two photo-currents I₁, I₂ from the SPD element 80 is performed.

Further, in the step S21, on the condition that the switch 84 is in the turn-off state, the switch 85 is in the turn-on state, the switch element 62 is also in the turn-on state, and the switch element 63 is in the state that it is switched to the contact 63 b side, a ratio arithmetic processing {I₁/(I₁+I_(r))} for the photo-current I₁ from the signal electrode 81 of two signal electrodes 81 and 82 of the SPD element 80 and the constant current I_(r) from the constant current source 50 is performed.

Furthermore, in step S22, the switches 84 and 85 are change over into the turn-on state and the turn-off state, respectively, so that the whole photo-current (I₁+I₂), which are generated by light irradiation onto the photo detector surface 83 of the SPD 80, are outputted from the signal electrode 81. And the switch element 63 is changed over at the contact 63 b side. The switch element 62 is in the turn-on state or turn-off state, whichever is appropriate. In the step S22, after the above-mentioned change over, the arithmetic processing {(I₁+I₂)/(I₁+I₂+I_(r))} based on light quantity is performed.

In this manner, also the use of the SPD makes it possible to perform the focussing arithmetic operation in a similar fashion to that of the use of the PSD.

FIG. 13 is a circuit diagram of a photo detector unit of a camera according to the fourth embodiment of a camera of the present invention.

FIG. 13 shows a SPD 80′ which is different from the SPD elements 80 shown in FIGS. 11 and 12 in structure, as compared with the circuit diagram of the photo detector unit in the third embodiment shown in FIG. 11, and the two switch elements 62 and 63 shown in FIG. 11 are disposed at the position near the signal electrode 82 of the SPD 80′.

The SPD 80′ shown in FIG. 13 is different, as compared with the SPD elements 80 shown in FIGS. 11 and 12, in the point that the SPD 80′ shown in FIG. 13 fails to have one switch 85 (corresponding to the third switch referred to in the present invention) of the two switches 84 and 85 constituting the SPD elements 80 shown in FIGS. 11 and 12.

Each of the switch 85 of the SPD elements 80 shown in FIGS. 11 and 12 is a switch for selecting whether the photo-currents I₁ and I₂ generated by the SPD 80 are outputted from the signal electrodes 81 and 82, respectively, or the total photo-currents (I₁+I₂) are outputted from one electrode 81. The state that the total photo-currents (I₁+I₂) are outputted from one electrode 81 can be implemented in such a manner that the switch element 63 is in a turn-off state and the switch element 62 is changed over at the contact 63 b side, also in the event that the SPD 80′ shown in FIG. 13, wherein there is not provided the switch 85, is adopted. In this case, however, a large capacity of wiring connected to the signal electrode 82 prevents all the total photo-current (I₁+I₂) from being outputted from the signal electrode 81, and part of the photo-current is outputted from the signal electrode 82 and absorbed by the capacitance of the wiring. Thus an error occurs in focusing. Accordingly, an adoption of the SPD 80′ having no switch 85 instead of the SPD 80 having the switch 85, as shown in FIGS. 11 and 12, brings about reduction of costs corresponding to the simple structure in SPD elements. In this case, as one measure of suppressing the focusing error within the allowable range, it is preferable that the switch elements 62 and 63 are disposed extremely in the vicinity of the SPD 80′ on the circuit.

According to the above-mentioned various type of embodiments, the ratio arithmetic procedure of a wide use type of AF-dedicated photo detector circuit 40 is utilized to implement the ratio arithmetic processing {I₁/(I₁+I₂)} for the short distance area and the middle distance area, the ratio arithmetic processing {I₁/(I₁+I_(r))} based on the constant current I_(r) for the long distance area, and the arithmetic processing {(I₁+I₂)/(I₁+I₂+I_(r))} based on the light quantity for the longest distance area. This feature make it possible to perform effectively focussing with greater accuracy with low cost.

Further, according to the above-mentioned various type of embodiments, the present invention is explained referring to three types of focusing algorithm and once or n times of number of focusing. However, the present invention is not confined to the focusing algorithm and the number of times of focusing and it is acceptable that a focusing algorithm and the number of times of focusing other than the embodiments are adopted.

Further, the present invention is not confined to the usual type of camera performing a photography on a roll-like shape of photographic film, but applicable to any type of cameras such as an instant camera in which a film is taken out of the camera while being developed, and an electronic still camera in which an image of a subject is formed on a CCD photo detector array and the image is derived in form of a signal.

As mentioned above, according to the present invention, it is possible to implement efficiently a greater accuracy of focusing without troubling an operator.

While the present invention has been described with reference to the particular illustrative embodiments, it is not to be restricted by those embodiments but only by the appended claims. It is to be appreciated that those skilled in the art can change or modify the embodiments without departing from the scope and sprit of the present invention. 

What is claimed is:
 1. A distance measuring equipment for measuring a distance up to a target to be measured in distance in such a manner that light is projected and light reflected on the target and returned is detected, wherein said distance measuring equipment has a plurality of focusing algorithms for measuring a distance up to the target to be measured in distance, any one of the plurality of focusing algorithms is used to perform a first focusing, and a number of times of focusing is determined in accordance with the first focusing.
 2. A distance measuring equipment for measuring a distance up to a target to be measured in distance in such a manner that light is projected and light reflected on the target and returned is detected, wherein said distance measuring equipment has a plurality of focusing algorithms for measuring a distance up to the target to be measured in distance, any one of the plurality of focusing algorithms is used to perform a first focusing, and a focusing algorithm to be used for a second focusing and subsequent focusing is determined in accordance with the first focusing.
 3. A distance measuring equipment according to claim 1, wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance according to the irradiation position on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.
 4. A distance measuring equipment according to claim 2, wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance according to the irradiation position on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.
 5. A distance measuring equipment according to claim 1, wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced.
 6. A distance measuring equipment according to claim 2, wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced.
 7. A distance measuring equipment according to claim 1, wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.
 8. A distance measuring equipment according to claim 2, wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.
 9. A distance measuring equipment according to claim 1, wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface, and a first switch, disposed at a position adjacent to one signal electrode which is one of said pair of signal electrodes, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct into said one signal electrode, and a second state which inhibits the photo-current generated on said detection surface from conducting into said one signal electrode, in accordance with a control signal; and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance up to the target to be measured in distance in accordance with both photo-currents obtained from said pair of signal electrodes, in a state that said first switch offers the first state, and a focusing algorithm for computing a distance up to the target to be measured in distance in accordance with photo-current obtained from another signal electrode different from said one signal electrode of said pair of signal electrodes, in a state that said first switch offers the second state.
 10. A distance measuring equipment according to claim 2, wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface, and a first switch, disposed at a position adjacent to one signal electrode which is one of said pair of signal electrodes, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct into said one signal electrode, and a second state which inhibits the photo-current generated on said detection surface from conducting into said one signal electrode, in accordance with a control signal; and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance up to the target to be measured in distance in accordance with both photo-currents obtained from said pair of signal electrodes, in a state that said first switch offers the first state, and a focusing algorithm for computing a distance up to the target to be measured in distance in accordance with photo-current obtained from another signal electrode different from said one signal electrode of said pair of signal electrodes, in a state that said first switch offers the second state.
 11. A distance measuring equipment according to claim 1, wherein in said semiconductor photo detector element, when said first switch is in the first state, said pair of signal electrodes output on a share basis the photo-currents generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position of the light on said detection surface and both the ends of the detection surface.
 12. A distance measuring equipment according to claim 2, wherein in said semiconductor photo detector element, when said first switch is in the first state, said pair of signal electrodes output on a share basis the photo-currents generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position of the light on said detection surface and both the ends of the detection surface.
 13. A distance measuring equipment according to claim 1, wherein said distance measuring equipment has a semiconductor photo detector element comprising a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, signal electrodes, connected to associated divided areas of said detection surface, respectively, adapted for outputting the photo-current generated by irradiation of light onto said detection surface, and a second switch, disposed at a boundary between divided areas of said detection surface, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct through the associated boundary, and a second state which inhibits the photo-current generated on said detection surface from conducting through the associated boundary, in accordance with a control signal; and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for determining a distance up to the subject in accordance with a plurality of photo-currents derived through said signal electrodes, in a state that said second switch is changed over to the second state, and a focusing algorithm for determining a distance up to the subject in accordance with the photo-current derived through a first signal electrode which is one of said signal electrodes, in a state that said second switch is changed over to the first state.
 14. A distance measuring equipment according to claim 2, wherein said distance measuring equipment has a semiconductor photo detector element comprising a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, signal electrodes, connected to associated divided areas of said detection surface, respectively, adapted for outputting the photo-current generated by irradiation of light onto said detection surface, and a second switch, disposed at a boundary between divided areas of said detection surface, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct through the associated boundary, and a second state which inhibits the photo-current generated on said detection surface from conducting through the associated boundary, in accordance with a control signal; and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for determining a distance up to the subject in accordance with a plurality of photo-currents derived through said signal electrodes, in a state that said second switch is changed over to the second state, and a focusing algorithm for determining a distance up to the subject in accordance with the photo-current derived through a first signal electrode which is one of said signal electrodes, in a state that said second switch is changed over to the first state.
 15. A distance measuring equipment according to claim 13, wherein said semiconductor photo detector element comprises a third switch, provided in association with another signal electrode excepting said first signal electrode, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct into the associated signal electrode, and a second state which inhibits the photo-current generated on said detection surface from conducting into the associated signal electrode, in accordance with a control signal, one of said plurality of focusing algorithms determines a distance up to the subject in accordance with a plurality of photo-currents derived through said signal electrodes, in a state that said first switch is changed over to the second state, and said second switch is changed over to the first state, and another of said plurality of focusing algorithms determines a distance up to the subject in accordance with the photo-current derived through said first signal electrode, in a state that said second switch is changed over to the first state, and said third switch is changed over to the second state.
 16. A distance measuring equipment according to claim 14, wherein said semiconductor photo detector element comprises a third switch, provided in association with another signal electrode excepting said first signal electrode, for selectively offering a first state which permits the photo-current generated on said detection surface to conduct into the associated signal electrode, and a second state which inhibits the photo-current generated on said detection surface from conducting into the associated signal electrode, in accordance with a control signal, one of said plurality of focusing algorithms determines a distance up to the subject in accordance with a plurality of photo-currents derived through said signal electrodes, in a state that said first switch is changed over to the second state, and said second switch is changed over to the first state, and another of said plurality of focusing algorithms determines a distance up to the subject in accordance with the photo-current derived through said first signal electrode, in a state that said second switch is changed over to the first state, and said third switch is changed over to the second state.
 17. A distance measuring equipment according to claim 9, wherein said first state is a low impedance state, and said second state is a high impedance state.
 18. A distance measuring equipment according to claim 10, wherein said first state is a low impedance state, and said second state is a high impedance state.
 19. A distance measuring equipment according to claim 13, wherein said first state is a low impedance state, and said second state is a high impedance state.
 20. A distance measuring equipment according to claim 14, wherein said first state is a low impedance state, and said second state is a high impedance state.
 21. A camera having a distance measuring equipment for projecting light for focusing in front of the camera and detecting light reflected on a subject to determine a distance up to the subject, said distance measuring equipment moving a shooting lens to the determined distance, wherein said distance measuring equipment has a plurality of focusing algorithms for measuring a distance up to the subject, any one of the plurality of focusing algorithms is used to perform a first focusing, and a number of times of focusing is determined in accordance with the first focusing.
 22. A camera according to claim 21 wherein said camera performs a series of focusing to determine once a position of the shooting lens, and any one of the plurality of focusing algorithms is used to perform a first focusing of the series of focusing to determine once a position of the shooting lens, and a number of times of focusing up to completion of the series of focusing is determine d in accordance with the first focusing.
 23. A ca m era having a distance measuring equipment for projecting light for focusing in front of the camera and detecting light reflected on a subject to determine a distance up to the subject, said distance measuring equipment moving a shooting lens to the determined distance, wherein said distance measuring equipment has a plurality of focusing algorithms for measuring a distance up to the subject, any one of the plurality of focusing algorithms is used to perform a first focusing, and a focusing algorithm to be used for a second focusing and subsequent focusing is determined in accordance with the first focusing.
 24. A camera according to claim 23 wherein said camera performs a series of focusing to determine once a position of the shooting lens, and any one of the plurality of focusing algorithms is used to perform a first focusing of the series of focusing to determine once a position of the shooting lens, and a focusing algorithm to be used for a second focusing and subsequent focusing up to completion of the series of focusing is determined in accordance with the first focusing.
 25. A camera according to claim 21 wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance according to the irradiation position on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.
 26. A camera according to claim 23 wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance according to the irradiation position on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.
 27. A camera according to claim 21 wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced.
 28. A camera according to claim 23 wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, and a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced.
 29. A camera according to claim 21 wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned.
 30. A camera according to claim 23 wherein said distance measuring equipment has a semiconductor photo detector element comprising a detection surface for generating a photo-current upon receipt of irradiation of light, and a pair of signal electrodes, disposed at both ends of said detection surface, adapted for outputting on a share basis the photo-current generated by irradiation of light onto said detection surface in accordance with respective distances between an irradiation position on said detection surface and both ends of said detection surface, and wherein said distance measuring equipment has, as said plurality of focusing algorithms, at least a focusing algorithm for computing a distance in accordance with an arithmetic operation using as a variable both of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, a focusing algorithm for computing a distance in accordance with an arithmetic operation, using as a variable one of a pair of photo-currents outputted from said pair of signal electrodes through irradiation on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned, between said variable and a selectable constant by which another photo-current is replaced, and a focusing algorithm for computing a distance according to an irradiation intensity on said detection surface of said semiconductor photo detector element, of the light for focusing reflected on the target and returned. 